const { Controller } = require('dx-router-admin');
module.exports = class Vip extends Controller {
	constructor(ctx) {
		super(ctx);
	}
    async list() {
		const list = await this.$dx.service.vip.select();
        return this.$dx.success('获取成功', list)
    }
	async myVip(){
		const list = await this.$dx.service.logs.myVip(this.$dx.auth.uid);	
		return this.$dx.success('获取成功', list)
	}
}